import { ApiProperty } from "@nestjs/swagger";
import { IsString } from "class-validator";

export class LoginFormDto {
  @IsString()
  @ApiProperty({
    description: "用户名",
    example: "managerA",
  })
  username: string;

  @IsString()
  @ApiProperty({
    description: "密码",
    example: "password",
  })
  password: string;
}
